export function configLayer() {
  return {
    name: "面属性",
    layout: [],
    paint: [
      {
        label: "内面颜色",
        prop: "fill-color",
        default: "rgb(26,252,105)",
        component: {
          name: "n-color-picker",
        },
      },
      {
        label: "面透明",
        prop: "fill-opacity",
        default: 0.8,
        component: {
          name: "n-slider",
          props: {
            min: 0,
            max: 1,
            step: 0.01,
          },
        },
      },

      {
        label: "外面颜色",
        prop: "fill-outline-color",
        default: "rgb(0,0,0)",
        component: {
          name: "n-color-picker",
        },
      },
    ],
  };
}
